﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Hotel.Domain
{
    public class RoomInfo
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public long RoomId { get; set; }
        /// <summary>
        /// 房间编号
        /// </summary>
        public string RoomCode { get; set; }
        /// <summary>
        /// 房间名称
        /// </summary>
        public string RoomName { get; set; }
        /// <summary>
        /// 房间类型编号
        /// </summary>
        public int RoomTypeId { get; set; }
        /// <summary>
        /// 价格
        /// </summary>
        public decimal Price { get; set; } = 0;
        /// <summary>
        /// 房间图片
        /// </summary>
        public string RoomImages { get; set; } = string.Empty;
        /// <summary>
        /// 房间说明
        /// </summary>
        public string RoomDesc { get; set; } = string.Empty;
        public int IsDelete { get; set; } = 0;
        public int Status { get; set; } = 1;
        public DateTime CreateTime { get; set; } = DateTime.Now;
       
    }
}
